package org.csu.jpetmanage.service.serviceImpl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.csu.jpetmanage.mapper.ProductMapper;
import org.csu.jpetmanage.model.Product;
import org.csu.jpetmanage.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product> implements ProductService {

    @Autowired
    private ProductMapper productMapper;

    public List<Product> queryProductAll() {

        return productMapper.selectList(null);
    }


}
